]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
main: Close calendar on activateWindow()
authorFlorian Müllner <fmuellner@gnome.org>
Mon, 23 Feb 2015 12:02:08 +0000 (13:02 +0100)
committerFlorian Müllner <fmuellner@gnome.org>
Tue, 10 Mar 2015 21:41:52 +0000 (22:41 +0100)
If activateWindow() is called as the result of activating an item
in the Time & Date drop-down (most likely a notification), it should
behave as other items and close the calendar.

js/ui/main.js

index 2a80a9056cc9f3a912e353e75789a2d8addb2c03..8844dc6a6d6567f5895c07b94f5c56a068bea1b5 100644 (file)
@@ -529,6 +529,7 @@ function activateWindow(window, time, workspaceNum) {
     }
 
     overview.hide();
+    panel.closeCalendar();
 }
 
 // TODO - replace this timeout with some system to guess when the user might